<script>

export default {
	onLaunch() {
		let that = this
		uni.login({
			provider: 'toutiao',
			success: function(loginRes) {
				that.$u.api.login({
					appletId: that.vuex_appletId,
					code: loginRes.code
				}).then(res => {
					that.$u.vuex('vuex_token', res.data.token);
				})
				
			}
		});
	}
}
</script>
<style>
	@import url("~@/static/iconfont/iconfont.css");
</style>
<style lang="scss">
@import "uview-ui/index.scss";

page{
	background: #131420;
	
}
/deep/ .u-icon__img{
	margin: 30px auto 0;
	display: block;
	width: 750rpx!important;
	height: 368rpx !important;
} 

</style>